import Home from '../views/Home.vue'
import Login from '../views/Login.vue'
import Register from '../views/Register.vue'
import Cate from '../views/Cate.vue';
import Ctc from '../views/Ctc.vue';
import Commodity from "../views/Commodity.vue"
import Comment from "../views/Comment.vue"
const routes = [
    // 家目录
    {
        name: 'home',
        path: '/home',
        component: Home
    },
    // 登录
    {
        name: 'login',
        path: '/login',
        component: Login
    },
     // 注册r
     {
        name: 'register',
        path: '/register',
        component: Register
    },
    // 分类
    {
        name: 'cate',
        path: '/cate',
        component: Cate
    },
    // 类目
    {
        name: 'ctc',
        path: '/ctc',
        component: Ctc
    },
    // 商品
    {
        name: 'commodity',
        path: '/commodity',
        component: Commodity
    },
    // 商品
    {
        name: 'comment',
        path: '/comment',
        component: Comment
    },
];
 


export default routes